@import 'wot-design-uni/components/common/abstracts/variable';

.ea-navbar-profile-water {
  color: $-color-white !important;
  background-color: $-color-theme !important; //#007aff !important;

  .wd-navbar-capsule {
    &::before {
      border: 2rpx solid $-color-white !important;
    }
    &::after {
      background: $-color-white !important;
    }
    :deep(.wd-navbar-capsule__icon) {
      color: $-color-white !important;
    }
  }
  .wd-navbar-capsule__icon {
    color: $-color-white !important;
  }
}

.profile-header-water {
  display: flex;
  align-items: center;
  width: 92%;
  height: 30vw;
  padding: 0 4%;
  background-color: $-color-theme;
  .userinfo {
    display: flex;
    width: 90%;
    .avatar {
      flex-shrink: 0;
      width: 15vw;
      height: 15vw;
      image {
        width: 100%;
        height: 100%;
        border-radius: 100%;
      }
    }
    .info {
      display: flex;
      flex-flow: wrap;
      padding-left: 30rpx;
      .username {
        width: 100%;
        font-size: 30rpx;
        color: $-color-white;
      }
      .integral {
        display: flex;
        align-items: center;
        height: 40rpx;
        padding: 0 20rpx;
        font-size: 24rpx;
        color: $-color-white;
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 20rpx;
      }
    }
  }
  .setting {
    flex-shrink: 0;
    width: 6vw;
    height: 6vw;
    color: $-color-white;
  }
}
.profile-box-water {
  display: flex;
  align-items: flex-start;
  width: 92%;
  height: 11vw;
  padding: 0 4%;
  margin-top: -1rpx;
  margin-bottom: calc(11vw + 40rpx);
  background-color: $-color-theme;
  border-radius: 0 0 100% 100%;
  .box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 98%;
    height: 22vw;
    padding: 0 1%;
    margin-bottom: 40rpx;
    background-color: $-color-white;
    border-radius: 24rpx;
    box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.15);
    .item {
      display: flex;
      flex: 1 1 auto;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      padding: 5px;
      margin: 15rpx 0;

      .wd-badge {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
      }
      .icon {
        width: 60rpx;
        height: 60rpx;
        image {
          width: 100%;
          height: 100%;
        }
      }
      .text {
        width: 100%;
        margin-top: 10rpx;
        font-size: 28rpx;
        text-align: center;
      }
    }
    .item:active {
      opacity: 0.6;
    }
  }
}

.wot-theme-dark {
  .profile-box-water {
    .box {
      background-color: $-dark-background2;
      box-shadow: 0 0 20rpx rgba(175, 175, 175, 0.15);
    }
  }
}
/* 菜单区域 */
.profile-cell-icon-water {
  box-sizing: border-box;
  display: block;
  align-items: center;
  width: 38rpx;
  height: 38rpx;
  margin-right: 20rpx;
  background-size: cover;
}
